package com.example.administrator.hqq.bean;

import java.util.List;

/**
 * @name: HQQ
 * @describe:
 * @author: 康海涛 QQ2541849981
 * @time: 2018/12/28 14:33
 * @remark:
 */
public class UmengMesssage {

    /**
     * code : 200
     * description : ok
     * data : [{"type":"JOIN_GROUP","title":"223","text":"223","question_1":"1","question_2":"2","answer_1":"1","answer_2":"2","time":1545952739000},{"type":"JUMP_GROUP","title":"555","text":"555","group_id":"1111","time":1545953599000},{"type":"JUMP_TOPIC","title":"123","text":"123","topic_id":"1e9028d942bab47aa627a45e60f013f3","time":1545953420000},{"type":"TEXT","title":"111","text":"111","time":1545952707000}]
     */

    private int code;
    private String description;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * type : JOIN_GROUP
         * title : 223
         * text : 223
         * question_1 : 1
         * question_2 : 2
         * answer_1 : 1
         * answer_2 : 2
         * time : 1545952739000
         * group_id : 1111
         * topic_id : 1e9028d942bab47aa627a45e60f013f3
         */

        private String type;
        private String title;
        private String text;
        private String question_1;
        private String question_2;
        private String answer_1;
        private String answer_2;
        private long time;
        private String group_id;
        private String topic_id;
        private String application_id;
        private String category_id;
        private String apply_state;
        private String user_nickname;
        private String user_url;
        private int gender;
        private int age;
        private int location_type;

        public String getUser_nickname() {
            return user_nickname;
        }

        public void setUser_nickname(String user_nickname) {
            this.user_nickname = user_nickname;
        }

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }

        public int getGender() {
            return gender;
        }

        public void setGender(int gender) {
            this.gender = gender;
        }

        public void setLocation_type(int location_type) {
            this.location_type = location_type;
        }

        public int getLocation_type() {
            return location_type;
        }

        public String getUser_url() {
            return user_url;
        }

        public void setUser_url(String user_url) {
            this.user_url = user_url;
        }

        public String getApply_state() {
            return apply_state;
        }

        public void setApply_state(String apply_state) {
            this.apply_state = apply_state;
        }

        public void setCategory_id(String category_id) {
            this.category_id = category_id;
        }

        public String getCategory_id() {
            return category_id;
        }

        public String getApplication_id() {
            return application_id;
        }

        public void setApplication_id(String application_id) {
            this.application_id = application_id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }

        public String getQuestion_1() {
            return question_1;
        }

        public void setQuestion_1(String question_1) {
            this.question_1 = question_1;
        }

        public String getQuestion_2() {
            return question_2;
        }

        public void setQuestion_2(String question_2) {
            this.question_2 = question_2;
        }

        public String getAnswer_1() {
            return answer_1;
        }

        public void setAnswer_1(String answer_1) {
            this.answer_1 = answer_1;
        }

        public String getAnswer_2() {
            return answer_2;
        }

        public void setAnswer_2(String answer_2) {
            this.answer_2 = answer_2;
        }

        public long getTime() {
            return time;
        }

        public void setTime(long time) {
            this.time = time;
        }

        public String getGroup_id() {
            return group_id;
        }

        public void setGroup_id(String group_id) {
            this.group_id = group_id;
        }

        public String getTopic_id() {
            return topic_id;
        }

        public void setTopic_id(String topic_id) {
            this.topic_id = topic_id;
        }
    }
}
